Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODPart


CanvasChanged

The CanvasChanged method should transfer asynchronous imaging to a new canvas.

void CanvasChanged (in ODFacet facet);
facet
A reference to a facet with the new canvas.
DISCUSSION
OpenDoc calls this method if an offscreen canvas is assigned to, changed, or removed from your part's facet while your part is running. Your part must prepare to draw on the new canvas, update the cached information, and alter asynchronous display information.

OVERRIDING
When you subclass ODPart, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.

SEE ALSO
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Adding and Removing Canvases" on page 133 in OpenDoc Programmer's Guide.
"Setting Up" on page 157 in OpenDoc Programmer's Guide.
"Drawing to an Offscreen Canvas" on page 168 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help